export default {
  height: 'calc(100vh - 360px)',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  indexLabel: '序号',
  selection: true,
  viewBtn: true,
  viewBtnText: '详情',
  viewText: '详情',
  dialogClickModal: false,
  columnBtn: false,
  column: [
    {
      label: '参数模块',
      prop: 'module',
      type: 'select',
      span: 24,
      dicUrl: '/api/blade-system/dict/dictionary?code=sys_module',
      props: {
        label: 'dictValue',
        value: 'dictKey'
      },

      rules: [
        {
          required: true,
          message: '请输入参数模块',
          trigger: 'click'
        }
      ]
    },
    {
      label: '参数名称',
      prop: 'paramName_like',
      search: true,
      display: false,
      hide: true
    },
    {
      label: '参数名称',
      prop: 'paramName',
      span: 24,
      rules: [
        {
          required: true,
          message: '请输入参数名称',
          trigger: 'blur'
        }
      ]
    },
    {
      label: '参数键名',
      prop: 'paramKey',
      search: true,
      span: 24,
      rules: [
        {
          required: true,
          message: '请输入参数键名',
          trigger: 'blur'
        }
      ]
    },
    {
      label: '参数键值',
      prop: 'paramValue',
      span: 24,
      rules: [
        {
          required: true,
          message: '请输入参数键值',
          trigger: 'blur'
        }
      ]
    },
    {
      label: '参数备注',
      prop: 'remark',
      type: 'textarea',
      span: 24,
      minRows: 6,
      rules: [
        {
          required: true,
          message: '请输入参数备注',
          trigger: 'blur'
        }
      ]
    },
    {
      label: '创建人',
      prop: 'createUserName',
      display: false
    },
    {
      label: '更新人',
      prop: 'updateUserName',
      display: false
    },
    {
      label: '更新时间',
      prop: 'updateTime',
      display: false
    }
  ]
};
